﻿using System;
using System.Collections;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using ms.Util;
//using FairyGUI;

namespace ms
{
    public class Text
    {
        public enum Font
        {
            A11M,
            A11B,
            A12M,
            A12B,
            A13M,
            A13B,
            A14B,
            A15B,
            A18M,
            NUM_FONTS
        }

        public enum Alignment
        {
            LEFT,
            CENTER,
            RIGHT
        }

        public enum Background
        {
            NONE,
            NAMETAG
        }

        public static EnumMap<Font, SpriteFont> font_map = new EnumMap<Font, SpriteFont>();
        public static SpriteFont Font_A11M;
        public static void Init()
        {
            font_map[Font.A11M] = SpriteFontEX.InitChineseFont(15);
/*            font_map[Font.A11B] = SpriteFontEX.InitChineseFont(11, true);
            font_map[Font.A12M] = SpriteFontEX.InitChineseFont(12);
            font_map[Font.A12B] = SpriteFontEX.InitChineseFont(12, true);
            font_map[Font.A13M] = SpriteFontEX.InitChineseFont(13);
            font_map[Font.A13B] = SpriteFontEX.InitChineseFont(13, true);
            font_map[Font.A14B] = SpriteFontEX.InitChineseFont(14, true);
            font_map[Font.A15B] = SpriteFontEX.InitChineseFont(15, true);
            font_map[Font.A18M] = SpriteFontEX.InitChineseFont(18);*/

            Font_A11M = font_map[Font.A11M];

        }
       
    }
}

